setStrokeOverprint

abstract fun setStrokeOverprint(block: DesignBlock, overprint: Boolean)

Mark the stroke of the given design block as overprint for PDF export.

The flag is only honored by the PDF writer when the stroke uses a spot color (Separation/DeviceN). For process-color strokes it is a silent no-op. On-screen rendering ignores the flag.

Required scope: "stroke/change"

Parameters

block

the block whose stroke overprint flag should be set.

overprint

if true, the stroke is marked as overprint in exported PDFs.